/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package ecarx.xsf.notificationcenter.task;


public interface ITaskCallback<Result> extends IProgress<Result> {

    @Override
    void onBeforeCall();

    @Override
    void onAfterCall();

    @Override
    void onComplete(Result data);

    @Override
    void onException(Throwable t);

    @Override
    void onCancelled();

}
